Skip to content

[#354] Fix donations stat misalignment on writer dashboard#362

Merged
realproject7 merged 1 commit intomainfrom
task/354-donation-alignment
Mar 19, 2026
Merged

[#354] Fix donations stat misalignment on writer dashboard#362
realproject7 merged 1 commit intomainfrom
task/354-donation-alignment

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Donations label was missing the block class used by the other 3 stat columns (Plots, Views, Created)
  • It also used <br /> to separate label from value, causing vertical misalignment
  • Fix: add block class to the label span and nest the tooltip inside it, matching the other columns' pattern

Fixes #354

Files changed

  • src/app/dashboard/writer/page.tsx — 2-line fix in the stats grid

Test plan

  • next build passes
  • Verify all 4 stat columns (Plots, Views, Created, Donations) are baseline-aligned

🤖 Generated with Claude Code

Donations label was missing `block` class and used a `<br />` instead,
causing it to sit lower than the other stats. Match the same block-span
pattern used by Plots, Views, and Created columns.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Aligns donations column with the block-span pattern used by the other 3 columns. Clean fix. Approved.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR matches issue #354 and applies a narrowly scoped layout fix to bring the donations stat into the same block-label pattern as the other columns on the writer dashboard. The diff is minimal and consistent with the existing markup structure.

Findings

  • No correctness or design issues found in the submitted diff.

Decision

Approved on code review. lint-and-typecheck was still pending at the time of review, so merge should still wait for required GitHub checks.

@realproject7 realproject7 merged commit 96f1d37 into main Mar 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Donations stat misaligned on writer dashboard

2 participants